﻿   
using System;
using System.Linq;
using System.Text;

using System.ComponentModel.DataAnnotations;
  
 namespace Oliving.Edge.Model.Dto.XLT
{
    ///<summary>
    ///保洁区域
    ///</summary> 
    
    [Serializable]
    public class CD_AreaPageDto 
    {
        public CD_AreaPageDto()
        {
        }
           
                            /// <summary> 
                            /// Desc:编号 
                            /// Default: 
                            /// Nullable:False 
                            /// </summary> 
                            
                            public string AreaId { get; set; } 
    
                            /// <summary> 
                            /// Desc:二维码 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [Required(ErrorMessage = "二维码不能为空")]
                            public string QRCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:项目ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "项目ID不能为空,内存长度超出 范围")]
                            public string ProjectId { get; set; } 
    
                            /// <summary> 
                            /// Desc:区域名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "区域名称不能为空,内存长度超出 范围")]
                            public string AreaName { get; set; } 
    
                            /// <summary> 
                            /// Desc:区域编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "区域编号不能为空,内存长度超出 范围")]
                            public string AreaCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:所属网格 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "所属网格不能为空,内存长度超出 范围")]
                            public string GridId { get; set; } 
    
                            /// <summary> 
                            /// Desc:网格负责人 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "网格负责人不能为空,内存长度超出 范围")]
                            public string AreaContacts { get; set; } 
    
                            /// <summary> 
                            /// Desc:联系电话 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "联系电话不能为空,内存长度超出 范围")]
                            public string AreaTel { get; set; } 
    
                            /// <summary> 
                            /// Desc:区域位置 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(200, MinimumLength = 1, ErrorMessage = "区域位置不能为空,内存长度超出 范围")]
                            public string AreaAddress { get; set; } 
    
                            /// <summary> 
                            /// Desc:软删除 0未删除，1 已删除 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public int? DeleteMark { get; set; } 
    
                            /// <summary> 
                            /// Desc:排序 排序 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public int? SortCode { get; set; } 
    
                            /// <summary> 
                            /// Desc:是否启用 0未启用，1启用 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public int? Enabled { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报时间 创建时间 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public DateTime? CreateDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:填报用户ID 创建的用户ID 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "填报用户ID 创建的用户ID不能为空,内存长度超出 范围")]
                            public string CreateUserID { get; set; } 
    
                            /// <summary> 
                            /// Desc:创建的用户名称 创建的用户名称 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "创建的用户名称 创建的用户名称不能为空,内存长度超出 范围")]
                            public string CreateUserName { get; set; } 
    
                            /// <summary> 
                            /// Desc:最后一次修改时间 修改日期 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            
                            public DateTime? ModifyDate { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改用户编号 修改用户编号 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "修改用户编号 修改用户编号不能为空,内存长度超出 范围")]
                            public string ModifyUserId { get; set; } 
    
                            /// <summary> 
                            /// Desc:修改的用户姓名 修改的用户姓名 
                            /// Default: 
                            /// Nullable:True 
                            /// </summary> 
                            [StringLength(50, MinimumLength = 1, ErrorMessage = "修改的用户姓名 修改的用户姓名不能为空,内存长度超出 范围")]
                            public string ModifyUserName { get; set; } 
 
    }

}
